package com.peaw.exception;

/**
 * <pre>
 * <b></b>
 *
 * </pre>
 * 
 * @author MrLiberte
 * @version 1.0.0 [2016年4月14日]
 */
public class MessageSupport implements MessageAble {
	
	public String defaultMessage;
	public String messageKey;
	public Object[] args;
	public String getDefaultMessage() {
		return defaultMessage;
	}
	public void setDefaultMessage(String defaultMessage) {
		this.defaultMessage = defaultMessage;
	}
	public String getMessageKey() {
		return messageKey;
	}
	public void setMessageKey(String messageKey) {
		this.messageKey = messageKey;
	}
	public Object[] getArgs() {
		return args;
	}
	public void setArgs(Object[] args) {
		this.args = args;
	}
	public MessageSupport() {
		super();
		
	}
	public MessageSupport(String defaultMessage, String messageKey,
			Object[] args) {
		super();
		this.defaultMessage = defaultMessage;
		this.messageKey = messageKey;
		this.args = args;
	}

}
